In-Depth Coverage of the Icon Programming Language
ثبت نشده
چکیده
the important consideration for large tables and lists. A table element requires about 3.5 times the amount of space as a list element (the exact amount depends on the size of the table and how it is constructed). There are several reasons for this. One is that in tables, keys must be stored along with the values. For lists, on the other hand, keys are just positions and are implicit. Another reason tables are larger than lists is that information is stored in tables to provide rapid look-up. Whether or not a factor of 3.5 is important depends on the amount of memory a procedure needs and on the platform on which the program runs. On modern workstations, the amount of memory needed for the kinds of procedures we’ve described usually is not a significant consideration. For a personal computer with limited RAM, the amount of memory needed may be the limiting factor in what can be done. We’ll therefore consider how lists can be used in place of tables. The procedure to compute values in the chaotic sequence provides a good case to study. A version that uses tables is:
منابع مشابه
In-Depth Coverage of the Icon Programming Language Shaft Arithmetic
Shaft Arithmetic ............................................ 1 Periodic Sequences ....................................... 5 Finding Repeats ............................................ 7 Name Drafting ............................................ 11 Variations on Versum Sequences ............. 15 Answers to Last Quiz ................................. 18 From the Library ...........................
متن کاملIn-Depth Coverage of the Icon Programming Language
Weave Draft Representation ....................... 1 From the Library ........................................... 3 Graphics Corner ............................................ 4 Exploring Sequences Interactively ............. 7 Answers to Quiz ........................................... 9 Woven Images ............................................. 10 Shadow-Weave Wallpaper ........................
متن کاملAnalyzing Character Patterns
About This Issue ................................ 1 Analyzing Character Patterns .......... 1 Versum Deltas .................................... 7 Graphics Corner ............................... 10 Tricky Business ................................ 14 From the Library .............................. 19 What’s Coming Up ..........................20 In-Depth Coverage of the Icon Programming Language...
متن کاملIn-Depth Coverage of the Icon Programming Language
10. Avoid long lines. Instead, continue expressions on as many lines as are needed for easy readability. See the first two issues of The Icon Analyst for the proper techniques for breaking lines. Similarly, continue long string and cset literals on several lines if that’s necessary to make them readable. See Appendix A of the second edition of The Icon Programming Language for the method of con...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994